['b']
public class MyComponent : Component { [Sync] public NetList<int> MyIntegerList { get; set; } = new(); ['br'] public void AddNumber( int number ) { if ( IsProxy ) return; MyIntegerList.Add( number ); } }
NetList<T> |
Count | <inheritdoc cref="P:System.Collections.Generic.List`1.Count" /> |
Item |
Add | |
Clear | <inheritdoc cref="M:System.Collections.Generic.List`1.Clear" /> |
Contains | |
CopyTo | |
Dispose | |
GetEnumerator | <inheritdoc cref="M:System.Collections.Generic.List`1.GetEnumerator" /> |
IndexOf | |
Insert | |
Remove | |
RemoveAt | <inheritdoc cref="M:System.Collections.Generic.List`1.RemoveAt(System.Int32)" /> |